package com.yh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * ClassName:SysApplication
 * Package:com.yh
 * Time: 2024/6/21
 */

@SpringBootApplication
@MapperScan("com.yh.mapper")// 扫描mapper接口  实现了接口和映射文件的分离
public class SysApplication {
    public static void main(String[] args) {
        SpringApplication.run(SysApplication.class);
    }
}
